body {
    margin: 0;
}

a {
    text-decoration: none;
    color: #fff;
}

button {
    outline: none;
    border: none;
    background-color: transparent;
}

svg {
    color: #fff;
}

li {
    list-style: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

/* header */
header .bg {
    position: relative;
    height: 250px;
    background-color: skyblue;
}

.bg .head-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: yellowgreen;
    z-index: 10;
}

header .bg ul {
    padding: 0 20px;
    display: flex;
    align-items: center;
}

header .bg ul li {
    padding: 0 10px;
}

/* left */
header .head-left ul li {
    display: flex;
    align-items: center;
}

header .head-left ul li svg {
    padding: 4px;
}

header .head-left ul li:nth-child(n+2):nth-child(-n+6):hover {
    animation: shake .5s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateY(0px);

    }

    50% {
        transform: translateY(-4px);

    }
}

/* center */
header .head-center {
    padding: 8px;
    display: flex;
    align-items: center;
    width: 500px;
    background-color: rgba(255, 255, 255, .8);
    height: 30px;
    border-radius: 10px;
}

header .head-center:hover {
    background-color: #fff;

}

header .head-center input {
    padding: 6px;
    flex: 1;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 20px;
    background-color: transparent;

}

header .head-center button {
    margin-left: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
}

header .head-center button:hover {
    background-color: #eee;
}

header .head-center svg {
    color: #000;
}

/* right */
header .head-right ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .head-right ul li:first-child {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
}

header .head-right ul li:last-child a {
    padding: 8px 24px;
    display: flex;
    flex-direction: row;
    background-color: #000;
    border-radius: 10px;
}

header .head-right ul li:last-child a svg {
    margin-right: 4px;
}

header .head-right ul li:last-child a svg:hover {
    animation: none;
}

header .head-right ul li a svg:hover {
    animation: shake .5s;
}


/* logo */
header .bg .logo {
    position: absolute;
    left: 150px;
    bottom: 40px
}

/* menu */
.menu {
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1600px;
    height: 80px;
    background-color: green;
    z-index: 10;
}

/* menu-left  */
.menu .menu-left {
    margin-right: 26px;
}

.menu .menu-left ul {
    display: flex;
}

.menu .menu-left a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu .menu-left ul li:last-child {
    margin-left: 20px;
}

.menu .menu-left a span:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background-color: #000;
    border-radius: 50%;
}

/* menu-center */
.menu .menu-center {
    margin: 0 26px;
    flex: 1;
    height: 100%;
}

.menu .menu-center ul {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.menu .menu-center ul li:hover {}

.menu .menu-center ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background-color: saddlebrown;
}

/* menu-right */
.menu .menu-right {
    padding-left: 26px;
    height: 100%;
    border-left: 1px solid #eee;
}

.menu .menu-right ul {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    align-items: center;
}

.menu .menu-right ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu .menu-right ul li a span {
    margin-left: 6px;
}

/* main */
main {
    margin: 0 auto;
    width: 1600px;
}

main ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    background-color: gray;
}

/* slideshow */
main ul .slideshow {
    grid-column-start: span 2;
    grid-row-start: span 2;
}

/* 视频信息 */
main ul li {
    display: flex;
    flex-direction: column;
    /* align-content: space-between; */
}

/* 图 */
main ul li .video-show-info {
    position: relative;
    width: 100%;
    height: 100%;
}

main ul li .video-show-info img {
    width: 100%;
    height: 100%;
}

main ul li .video-show-info .video-info-bottom {
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

main .video-show-info .video-info-bottom span {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

/* 标题 */
main ul li a:nth-child(2) {
    margin: 10px 0;
    width: 80%;
    text-wrap: wrap;
}

main ul li .up-date {
    margin: 10px 0;
}

main ul li .up-date span,
main ul li .up-date {
    display: flex;
}

main ul li .up-date span {
    margin-left: 10px;
}

/* footer  */
footer {
    margin: 30px auto;
    width: 1300px;
}

/* footer-top  */
footer .footer-top {
    display: flex;
    justify-content: space-between;
    background-color: darkcyan;
}

footer .footer-top ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

footer .footer-top ul div {
    grid-column-start: 5 span;
}

footer .footer-top ul:last-child {
    display: flex;
    align-items: center;
}

footer .footer-top ul:last-child li {
    padding: 0 10px;
}

footer .footer-top ul:last-child a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* footer-bottom  */
footer .footer-bottom {
    margin: 30px auto 0;
    width: 1000px;
    border-top: 1px solid #eee;
}

footer .footer-bottom div {
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    width: 400px;
}

footer .footer-bottom div img {
    width: 100px;
    height: 50px;

}